/*
 * @Author: c
 * @Date: 2023-12-03 21:17:49
 * @LastEditTime: 2023-12-03 21:17:59
 * @LastEditors: c
 * @Description: 
 * @FilePath: \music-web-backend\src\decorator\roles.decorator.ts
 * https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { SetMetadata } from '@nestjs/common';
import { Role } from '../enums/role.enum';

export const ROLES_KEY = 'roles';
export const Roles = (...roles: Role[]) => SetMetadata(ROLES_KEY, roles);
